package tutorial.example1;

public class Person {
	private String firstname;
	private String lastname;
	private PhoneNumber phone;
	private PhoneNumber fax;

	public Person(String fn, String ln) {
		firstname = fn;
		lastname = ln;
	}
	public void setPhone(PhoneNumber _phone) {
		phone = _phone;
	}
	public void setFax(PhoneNumber _fax) {
		fax = _fax;		
	}
	public String getFirstname() {
		return firstname;
	}
	public String getLastname() {
		return lastname;
	}
	public PhoneNumber getPhone() {
		return phone;
	}
	public PhoneNumber getFax() {
		return fax;
	}
}